package com.tju.backend.utils.result;

/**
 * 枚举类ResultEnum
 *
 * @USER: CLS
 */
public enum ResultEnum {
    UNKONW_ERROR(500, "未知错误"),
    SPECIAL(402, "特殊处理"),
    SUCCESS(200, "执行成功"),
    RECEIVE(202, "入仓成功"),
    OUTWAREHOUSE(203, "出仓成功"),
    OUTWAREHOUSETwo(208, "出仓缓存个数"),
    ROLLER(204, "滚轮信号"),
    STEREOSCOPIC_WAREHOUSE(201, "立库库位信息"),
    STEREOSCOPIC_WAREHOUSESELECT(207, "查询立库库位信息"),
    UPDATEREMARK(209, "修改成功"),
    STEREOSCOPIC_WAREHOUSEONE(205, "PLC信号 "),
    AGV(206, "AGV信号 ");
    private Integer code;
    private String msg;
    private Object o;
    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    ResultEnum(Integer code, String msg,Object o) {
        this.o = o;
        this.code = code;
        this.msg = msg;
    }
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
